const path = require('path')

module.exports = {
    publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
    outputDir: 'dist',
    configureWebpack: {
        resolve: {
            alias: {
                '@': path.resolve(__dirname, './src'),
                api : path.resolve(__dirname, './src/api'),
                components: path.join(__dirname, './src/components'),
                utils: path.join(__dirname, './src/utils'),
            }
        },
    }
}
